import request from '@/utils/requestApi'

/**
 * 用户注册接口
 */
export function register(data) {
    return request({
        url: '/api/idea3d/register',
        method: 'POST',
        data
    })
}

/**
 * 用户登录接口
 */
export function login(data) {
    return request({
        url: '/api/idea3d/login',
        method: 'POST',
        data
    })
}
